import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.*;


public class StartMenu extends Menu {
	
	private JPanel menuObj;
	
	public StartMenu() {
		super();
		super.drawMenu();
		menuObj = super.menu;
	}
	
	public JPanel drawContent() {
		JButton info = new JButton("Weiter");
        info.setBounds(462, 450, 100, 40);
        info.setBorder(BorderFactory.createLineBorder(Color.decode("#602f02"), 2));
        info.setBackground(Color.decode("#cba675"));
        info.setFocusPainted(false);
        info.setCursor(new Cursor(Cursor.HAND_CURSOR));
        info.addMouseListener(new MouseListener() {

			@Override
			public void mouseClicked(MouseEvent e) {
				// TODO Auto-generated method stub
				
				menuObj.setVisible(false);
			}

			@Override
			public void mousePressed(MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void mouseReleased(MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void mouseEntered(MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void mouseExited(MouseEvent e) {
				// TODO Auto-generated method stub
				
			}});
        
        menuObj.add(info);
        return menuObj;
	}
	
}
